R3LoadTextTexture()Initialize d3d and write